<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Micromenu: Referência à classe Texto</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Gerado por Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Localizar');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Página&nbsp;principal</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Ficheiros</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Localizar" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="annotated.html"><span>Lista&nbsp;de&nbsp;componentes</span></a></li>
      <li><a href="hierarchy.html"><span>Hierarquia&nbsp;de&nbsp;classes</span></a></li>
      <li><a href="functions.html"><span>Componentes&nbsp;membro</span></a></li>
    </ul>
  </div>
</div>
<div class="contents">
<h1>Referência à classe Texto</h1><!-- doxytag: class="Texto" -->
<p>Classe de <a class="el" href="class_texto.html" title="Classe de Texto.">Texto</a>.  
<a href="#_details">Mais...</a></p>

<p><code>#include &lt;<a class="el" href="_texto_8h_source.html">Texto.h</a>&gt;</code></p>

<p><a href="class_texto-members.html">Mostrar lista completa dos membros</a></p>
<table border="0" cellpadding="0" cellspacing="0">
<tr><td colspan="2"><h2>Membros públicos</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="adb8ed911c0010361142803bc6f97c0db"></a><!-- doxytag: member="Texto::Texto" ref="adb8ed911c0010361142803bc6f97c0db" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_texto.html#adb8ed911c0010361142803bc6f97c0db">Texto</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Construtor padrão. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a9e00ad1ee43a4eb82bb3700ab8829dad"></a><!-- doxytag: member="Texto::~Texto" ref="a9e00ad1ee43a4eb82bb3700ab8829dad" args="()" -->
&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_texto.html#a9e00ad1ee43a4eb82bb3700ab8829dad">~Texto</a> ()</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Destrutor padrão. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">SDL_bool&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_texto.html#a4baf3f3cc3031af30aa02aa59e9a6936">inicializa</a> (Uint16 larguraRect, string fonte, Uint16 tamanhoFonte)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Inicializa as variáveis.  <a href="#a4baf3f3cc3031af30aa02aa59e9a6936"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_texto.html#aa1a4bfa6cbfdc40036ff8ad21a5be34c">exibe</a> (Uint16 x, Uint16 y, SDL_Surface *destino, Uint8 r, Uint8 g, Uint8 b)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">Exibe o texto na tela.  <a href="#aa1a4bfa6cbfdc40036ff8ad21a5be34c"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">void&nbsp;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_texto.html#a2b4db160fd4c84910460421ff817efe1">escreve</a> (string texto)</td></tr>
<tr><td class="mdescLeft">&nbsp;</td><td class="mdescRight">escreve o texto por parâmetro  <a href="#a2b4db160fd4c84910460421ff817efe1"></a><br/></td></tr>
</table>
<hr/><a name="_details"></a><h2>Descrição detalhada</h2>
<p>Classe de <a class="el" href="class_texto.html" title="Classe de Texto.">Texto</a>. </p>
<dl class="author"><dt><b>Autor:</b></dt><dd>Shin-NiL </dd></dl>
<dl class="date"><dt><b>Data:</b></dt><dd>12/02/2010 Criação </dd></dl>
<dl class="version"><dt><b>Versão:</b></dt><dd>0.1 Classe que possibilita escrever texto diretamente na tela dentro dos limites estabelecidos em um retângulo </dd></dl>
<hr/><h2>Documentação dos métodos</h2>
<a class="anchor" id="a2b4db160fd4c84910460421ff817efe1"></a><!-- doxytag: member="Texto::escreve" ref="a2b4db160fd4c84910460421ff817efe1" args="(string texto)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Texto::escreve </td>
          <td>(</td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>texto</em></td>
          <td>&nbsp;)&nbsp;</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>escreve o texto por parâmetro </p>
<dl><dt><b>Parâmetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>texto</em>&nbsp;</td><td>deve conter o texto a ser escrito </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa1a4bfa6cbfdc40036ff8ad21a5be34c"></a><!-- doxytag: member="Texto::exibe" ref="aa1a4bfa6cbfdc40036ff8ad21a5be34c" args="(Uint16 x, Uint16 y, SDL_Surface *destino, Uint8 r, Uint8 g, Uint8 b)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void Texto::exibe </td>
          <td>(</td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>x</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>y</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">SDL_Surface *&nbsp;</td>
          <td class="paramname"> <em>destino</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&nbsp;</td>
          <td class="paramname"> <em>r</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&nbsp;</td>
          <td class="paramname"> <em>g</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint8&nbsp;</td>
          <td class="paramname"> <em>b</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Exibe o texto na tela. </p>
<dl><dt><b>Parâmetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>x</em>&nbsp;</td><td>coordenada x de destino </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>y</em>&nbsp;</td><td>coordenada y de destino </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>destino</em>&nbsp;</td><td>superfície onde será escrito o texto </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>r</em>&nbsp;</td><td>componente vermelho da cor do texto </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>g</em>&nbsp;</td><td>componente verde da cor do texto </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>b</em>&nbsp;</td><td>componente azul da cor do texto </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4baf3f3cc3031af30aa02aa59e9a6936"></a><!-- doxytag: member="Texto::inicializa" ref="a4baf3f3cc3031af30aa02aa59e9a6936" args="(Uint16 larguraRect, string fonte, Uint16 tamanhoFonte)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">SDL_bool Texto::inicializa </td>
          <td>(</td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>larguraRect</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">string&nbsp;</td>
          <td class="paramname"> <em>fonte</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Uint16&nbsp;</td>
          <td class="paramname"> <em>tamanhoFonte</em></td><td>&nbsp;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Inicializa as variáveis. </p>
<dl><dt><b>Parâmetros:</b></dt><dd>
  <table border="0" cellspacing="2" cellpadding="0">
    <tr><td valign="top"></td><td valign="top"><em>larguraRect</em>&nbsp;</td><td>largura do retângulo onde será escrito o texto </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>alturaRect</em>&nbsp;</td><td>algura do retângulo onde será escrito o texto </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>fonte</em>&nbsp;</td><td>arquivo que contém a fonte do texto </td></tr>
    <tr><td valign="top"></td><td valign="top"><em>tamanhoFonte</em>&nbsp;</td><td>tamanho da fonte usada para escrever o texto </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/>A documentação para esta classe foi gerada a partir dos seguintes ficheiros:<ul>
<li>src/<a class="el" href="_texto_8h_source.html">Texto.h</a></li>
<li>src/Texto.cpp</li>
</ul>
</div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tudo</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Funções</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Variáveis</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Gerado em Tue Jul 6 15:36:09 2010 para Micromenu por&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
